//
//  GoodsDetailBuyCountView.h
//  BonweBuy
//
//  Created by liuxin on 2020/2/25.
//  Copyright © 2020 liuxin. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface GoodsDetailBuyCountView : UICollectionReusableView

/**
 用于内部重置
 */
@property (nonatomic, assign) NSInteger buyCount;

/*
 同于控制最多
 */
@property (nonatomic, assign) NSInteger maxCount;

/**
 提供外部进行键盘的处理
 */
@property (nonatomic, strong) UITextField *countTextField;

/**
 将内部的数量传递出去
 */
@property (nonatomic, copy) void(^nowCount)(NSInteger count);

@end

NS_ASSUME_NONNULL_END
